( grid, color, first, count, @lines[] ) ( grid, color, first, count, @linesGrid[] ) ( grid, color, first, count, @lines#[] ) These functions draw a series of independent line segments. Then the appropriate drawpoint is set to the endpoint of the last drawn line. Each line occupies four array elements. The first four array elements are the start and end point of line #0. Since the array contains the start point and end point of every line, every line is independent, and not necessarily connected to any previous or subsequent line. first is the first line to draw, starting at line #0. count is the number of lines to draw. count = 0 means draw lines until the array is exhausted. color = -1 means draw in the current drawing color. No color attribute is changed. |
|
( grid, color, first, count, @points[] ) ( grid, color, first, count, @pointsGrid[] ) ( grid, color, first, count, @points# ) These functions draw a series of connected lines between points. Then the appropriate drawpoint is set to the end point of the last drawn line. Each point occupies two array elements. The first two array elements are the start point of the first line. A move to the first point is performed, then count lines are drawn to successive points, or until the array of points is exhausted, whichever comes first. Since each point in the array is the end point of one line and the start point of the next, these functions draw a series of connected lines. first is the start point of the first line to draw, starting at point #0. count is the number of lines to draw. count = 0 means draw lines until the array is exhausted. color = -1 means draw in the current drawing color. No color attribute is changed. |